<?php

/**
 * Created by PhpStorm.
 * User: 韩梦雅
 * Date: 2019/2/22
 * Time: 15:42
 */

namespace app\Model;

use Illuminate\Database\Eloquent\Model;

class Industry extends Model
{
    protected $table = 'industry';

    /**
     * 查询行业表内的行业名和id
     */
    public function findName(){
        return $this->get(['industry_name','industry_id'])->toArray();
    }

}